<%= javascript_include_tag 'pagination' %>
<% size_font_current_filter = 12 %>

<table style="border:0; width: 100%">
  <% if @filters_data.length > 0 %>
    <tr>
      <td colspan="2" align="left" style="font-size: <%="#{size_font_current_filter}px"%>">
        <%= t('lbl_catalog_filters_data')%>
        <% @filters_data.each_index do |index| %>
          <% if index > 0 %>
          <%="<b>></b>"%>
          <% end %>
          <%="<b>#{t( @filters_data[index][:name] )}</b> #{@filters_data[index][:data]}"%>
        <% end %>
      </td>
    </tr>
  <% end %>

  <tr>
    <td style="width:21%;height:100%;vertical-align: top;">
        <!--ATENCION: EN PRINCIPIO NO SERIA NECESARIO PASARLE TODOS LOS PARAMETROS, NO ME QUEDA CLARO PORQUE-->
        <%=render :partial => 'catalogs/filters/tree_index', :locals => {:materials => @materials, :filters => @show_filters, :categories => @categories, :material_authors => @material_authors, :material_authors_return => @material_authors_return, :material_countries => @material_countries, :material_countries_return => @material_countries_return, :material_editors => @material_editors, :material_editors_return => @material_editors_return, :material_years => @material_years, :material_years_return => @material_years_return, :material_editions => @material_editions, :material_editions_return => @material_editions_return}%>
    </td>
    <td id="table_material" style="width: 79%;height: 100%;vertical-align: top;">
        <!--ATENCION: EN PRINCIPIO NO SERIA NECESARIO PASARLE TODOS LOS PARAMETROS, NO ME QUEDA CLARO PORQUE-->
        <%=render :partial => 'material_list', :locals => {:materials => @materials}%>
    </td>
  </tr>
</table>



